


#ifndef _CSOUND_H
#define _CSOUND_H

#include "dsutil.h"

class CMusic
{
	//primary DirectSound object
private:
	static CMusic* _sInstance;
	CSoundManager *dsound;
	CSound* LoadSound(char *);
	int Init_DirectSound(HWND);
	bool _turnOn;

	CSound* _soundFile;
	

public:
	static CMusic* GetInstance();

	CMusic();
	
	int InitSound(HWND);

	void TurnOn(bool turn);
	void TurnOff(bool turn);

	~CMusic();
};

#endif

